<%@ page language="java" contentType="text/html; charset=EUC-KR" pageEncoding="EUC-KR"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta name="Description" content="<c:out value='${result.contents}' />">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><c:out value="${result.title }"/></title>
</head>
<script type="text/javascript">
	
	function fn_load(){
		var _ROOT = "http://192.168.0.82";
		//http://localhost:8081/jQuery/selecteSNS?SNS_CD=CL001&SNS_TABLE_KEY=71&SNS_PARAM=club_seq=1
		var url = document.getElementById("returnUrl").value;
		var param = document.getElementById("returnUrlParam").value;
		alert(param + '-' + url)
		if(param){
			document.location.href = _ROOT + url + "?" + param;
		}
	}
	
</script>
<body style="display:none" onload="fn_load();">
<c:out value="${result.contents }"/>
<c:out value="${result.title }"/>
<input type="text" id="returnUrl" value='<c:out value="${result.url }"/>' />
<input type="text" id="returnUrlParam" value='<c:out value="${result.sns_param }"/>' />
</body>
</html>